#coding: GBK
require "rubygems"
require "firewatir"
require "test/unit"
require "win32ole"


class Opentc < Test::Unit::TestCase
	def setup
		@ff = FireWatir::Firefox.new
		url	=	"http://db-wise-rdtf0.db01.baidu.com:8080/?page=miopen"
		@ff.goto url
	end
	
	def test_site_stat
		 
		@ff.text_field(:id,"PassInputUsername0").set "souldak_2036"
		@ff.text_field(:id,"PassInputPassword0").set "hbl4217121"
		@ff.button(:type,"submit").click
	end
end